//
//  GPosAPI.h
//  gpos_app
//
//  Created by 崔航飞 on 2018/8/22.
//  Copyright © 2018年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void (^GposCallback)(id obj);

@interface GPosAPI : NSObject
/**
*  登录接口
*
*  @param para     接口参数
*  @param callback 回调Block块
*/

//获取验证码
+(void)requestSendCodeWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;

//注册
+(void)requestRegisterWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//账号登录
+(void)requestLogInWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//验证码登录
+(void)requestverifyLogInWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;

//退出登录
+(void)requestverifyLogOutWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//忘记密码
+(void)requestForgetPasswordWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//获取版本信息
+(void)requestVersonWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//获取用户钱包地址
+(void)requestMoneyAddressWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//查看所有店铺
+(void)requestverifyAllMerchantWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//查看店铺分类
+(void)requestverifyMerchantTypeWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//设置交易密码
+(void)requestTradePasswordWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//首页总余额
+(void)requestTotalBalanceWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//首页排名数据homePage
+(void)requestHomePageWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//首页查看总收益和昨日收益
+(void)requestIncomeWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//首页轮播图advertisement
+(void)requestAdvertisementWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//首页团队、券友数据
+(void)requestTeamWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//获取首页用户矿机数据
+(void)requestGetUserMinerNumberWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//查看消息
+(void)requestNoticeWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//删除消息(或已读)
+(void)requestDelegateNoticeWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//获取用户信息
+(void)requestUserInfosWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//设置用户信息
+(void)requestConfigUserInfosWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//自己总收益数据
+(void)requestAllRankWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//服务以及隐私条款
+(void)requestServiceAndSecurtWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//今日新增排行榜
+(void)requestTodayRankWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//钱包地址
+(void)requestGetAccountAddressWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//钱包地址转账
+(void)requestTransferAccountWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//查看店铺分类
+(void)requestMerchantTypeWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//修改登录密码
+(void)requestChangeloginPasswordWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//忘记交易密码
+(void)requestForgetJYPasswordloginPasswordWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//获取用户的矿机详细数据
+(void)requestGetUserMinerWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//获取用户的矿机账单列表
+(void)requestGetUserMinerDetailListWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//获取用户的矿机账单详情
+(void)requestGetUserMinerDetailWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
///campaign/rank/campaignBill竞选列表
+(void)requestCampaignBillWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//意见反馈的
+(void)requestFeedBacksWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//查看竞选余额
+(void)requestBalanceWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//查看竞选是否开启
+(void)requestOpenWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//查看往期竞选数据和倒计时
+(void)requestPhaseWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//查看竞选排名数据
+(void)requestRankViewWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//昨日收益
+(void)requestAllIncomeWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//查看自己的店铺
+(void)requestMySelfMerchantWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//参与竞选/campaign/rank/campaign
+(void)requestCampaignWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
///pay/bill
+(void)requestBillWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
///pay/orderDetail
+(void)requestorderDetailWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//券友台数
//+(void)requestPosInfoWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
////券友人数
//+(void)requestTeamInfoWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
+(void)requestDirectInfoWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//APP给POS机转账
+(void)requestTransferAccountPosWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//APP给POS机转账
+(void)requestGposZNMerchantWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//登录交易所
+(void)requestLoninDLWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//转账交易所
+(void)requestDivertZZWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
// 检查用户是否有身份验证失败
//member/identityResult
+(void)requestIdentityResultWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;

//登录闪电网络
+(void)requestOTCLoninWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//转账闪电网络
+(void)requestOTCDivertWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;

//获取绑定银行卡
+(void)requestGetBankCardWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;

//绑定银行卡
+(void)requestBindBankCardWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;

//获取银行列表
+(void)requestGetBankInfoWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;

///hold/viewHoldInfo查看储存信息
+(void)requestViewHoldInfoWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;

///hold/viewDetailList获取转入详情列表
+(void)requestViewDetailListWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;

//储存/hold/storageAmount
+(void)requestStorageAmountWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//储存列表/hold/viewIncomeOrderList
+(void)requestViewIncomeOrderListWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
// 显示业绩销量/index/salesCommission
+(void)requestSalesCommissionWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
//销量详情/index/saleDetail
+(void)requestSaleDetailWithParams:(NSDictionary*)para andCallback:(GposCallback)callback;
@end
